# -------------------------------------------------
# Project created by QtCreator 2009-11-18T10:48:17
# -------------------------------------------------
QT += webkit
TARGET = $$qtLibraryTarget(locationapi)
TEMPLATE = lib
CONFIG += plugin \
    release \
    mobility

VERSION = 1.0.0
DEFINES += WRTAPI_LIBRARY
SOURCES += locationapi.cpp \
    location.cpp
HEADERS +=  locationapi.h \
    location.h

INCLUDEPATH += ..\..\fw\

symbian: { 
    # Load predefined include paths (e.g. QT_PLUGINS_BASE_DIR) to be used in the pro-files
    load(data_caging_paths)
    
    # EPOCALLOWDLLDATA have to set true because Qt macros has initialised global data
    TARGET.EPOCALLOWDLLDATA = 1
    
    # Defines plugin files into Symbian .pkg package
    #pluginDep.sources = locationapi.dll
    #pluginDep.path = $$QT_PLUGINS_BASE_DIR/hybridplugins
    #DEPLOYMENT += pluginDep
    
    TARGET.CAPABILITY = LocalServices \
      NetworkServices \
      ReadUserData \
      UserEnvironment \
      WriteUserData \
      Location

    LIBS += -lavkon \
        -lcone \
        -leikcoctl \
        -lapgrfx \
        -lapparc \
        -lQtLocation@qt_mobility_version
}

target.path += $$[QT_INSTALL_PLUGINS]/hybridplugins
INSTALLS += target
